//
//  ProblemDetailsViewController.m
//  WE
//
//  Created by apple on 15/11/28.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "ProblemDetailsViewController.h"
#import "Size.h"
#import "ToolUtil.h"
@interface ProblemDetailsViewController ()

@end

@implementation ProblemDetailsViewController
- (void)viewWillAppear:(BOOL)animated
{
    self.navigationController.navigationBar.hidden = NO;
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"问题详情";
    self.view.backgroundColor = [UIColor colorWithRed:229/255. green:229/255. blue:229/255. alpha:1.0];
    CGFloat hei = [ToolUtil customAutoHeigh:@"问 : 我为家人预约,实名认证时填写本人的信息还是家人的信息?" width:WindowWidth - 20 num:14];
    UILabel *problemLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 74, WindowWidth - 20, hei)];
    
    problemLabel.text = @"问 : 我为家人预约,实名认证时填写本人的信息还是家人的信息?";
    problemLabel.textColor = [UIColor blackColor];
    problemLabel.backgroundColor = [UIColor colorWithRed:229/255. green:229/255. blue:229/255. alpha:1.0];
    problemLabel.font = FONT(14);
    problemLabel.numberOfLines = 0;
    [self.view addSubview:problemLabel];
    
    [ToolUtil createLine:problemLabel.frame.size.height + 84 superView:self.view lift:10 width:WindowWidth- 20 hight:1 color:[UIColor grayColor]];
    
    CGFloat answerHeighr = [ToolUtil customAutoHeigh:@"实名认证可以填写本人的信息,认证完毕可以把家人的信息添加到家庭联系人,预约时选择对应联系人即可" width:WindowWidth - 20 num:12];
    
    UILabel *answerLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, problemLabel.frame.size.height + 94, WindowWidth - 20, answerHeighr)];
    answerLabel.text = @"实名认证可以填写本人的信息,认证完毕可以把家人的信息添加到家庭联系人,预约时选择对应联系人即可";
    answerLabel.textColor = [UIColor blackColor];
    answerLabel.backgroundColor = [UIColor colorWithRed:229/255. green:229/255. blue:229/255. alpha:1.0];
    answerLabel.numberOfLines = 0;
    answerLabel.font = FONT(12);
    [self.view addSubview:answerLabel];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
